﻿<%--Page created by Mike Beck -- displays the list of User submitted Recipes to the Admin --%>

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SubmittedRecipes.aspx.cs"
    Inherits="CSC440TeamOne.Admin.Views.SubmittedRecipes" Title="SubmittedRecipes"
    MasterPageFile="~/Shared/DefaultMaster.master" %>
<asp:Content ID="content1" ContentPlaceHolderID="HeadContent" runat="Server">
    <link href="../App_Themes/Default/MikesStyles.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="content" ContentPlaceHolderID="DefaultContent" runat="Server">
    <h2>
        Admin Tools - Submitted Recipes</h2>
    <h5 class="pageDirections">
        Below is the list of user-submitted recipes. From here, the admin can click on a
        recipe to review it, edit it, approve it, or reject it.</h5>
    <div>
        <table cellpadding="5">
            <tr class="tableHeadings">
                <td ID="TableCell4" runat="server">Recipe Name</td>
                <td ID="TableCell5" runat="server">Submitted by</td>
                <td ID="TableCell6" runat="server">Date Submitted</td>
            </tr>
            <asp:Repeater runat="server" ID="repRecipes">
                <ItemTemplate>
                    <tr>
                        <td><asp:HyperLink runat="server" ID="hyAcceptRecipe"></asp:HyperLink></td>
                        <td><asp:Label ID="TableCell1" runat="server" class="recipeUser">User2</asp:Label></td>
                        <td><asp:Label ID="TableCell2" runat="server" class="recipeDate">05/16/2011</asp:Label></td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
        </table>
    </div>
</asp:Content>
